/* 登录页面容器 */
.login-container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* 左侧背景区域 */
.login-left {
  /* flex: 1;  */
  position: relative;
  width: 46%;
  background: linear-gradient(135deg, #0c8f5d 0%, #0a7a50 100%);
  color: white;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-logo-img{
  position: absolute;
  width: 40px;
  height: 40px;
  top: 70px;
  left: 70px;
}


/* 左侧内容 - 文字部分 */
/* .login-left>* {
  position: relative;
  z-index: 2;
} */

.login-logo {
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 44px;
  letter-spacing: 1px;
}

.login-description {
  font-size: 16px;
  max-width: 500px;
  line-height: 36px;
}

/* 右侧登录区域 */
.login-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: white;
  position: relative;
}

/* 登录头部 */
.login-header {
  /* text-align: center; */
  margin-bottom: 42px;
  max-width: 488px;
  width: 100%;
}

.login-title {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}

.login-welcome {
  font-size: 16px;
  color: #666;
}

/* 登录内容区域 */
.login-content {
  width: 100%;
  max-width: 488px;
}

/* 统一身份认证登录按钮 */
.unified-login-btn {
  width: 100%;
  height: 128px;
  font-size: 24px;
  background-color: #0c8f5d;
  border-color: #0c8f5d;
  border-radius: 12px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-bottom: 82px;
  color: #fff;
  padding: 0 48px;
  cursor: pointer;
}

.unified-login-btn:hover {
  /* background-color: #0a7a50;
  border-color: #0a7a50; */
  /* transform: translateY(-2px); */
  /* box-shadow: 0 4px 12px rgba(12, 143, 93, 0.3); */
  box-shadow: 0px 25px 50px 12px rgba(43, 160, 127, 0.3);
}

.login-arrow {
  margin-left: 8px;
  font-size: 16px;
}

/* 其他登录方式 */
.other-login {
  width: 100%;
}

.login-divider {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-bottom: 24px;
  position: relative;
}

.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background-color: #eee;
}

.login-divider::before {
  left: 0;
}

.login-divider::after {
  right: 0;
}

/* 登录选项 */
.login-options {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.login-option {
  height: 48px;
  width: 48px !important;
  border: none;
  transition: all 0.3s ease;
  background-color: #F5F5F5;
  margin-bottom: 8px;
  font-size: 18px;
}

.login-options>div {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.login-options>div>div {
  font-size: 12px;
  color: #666;
}

.login-option:hover {
  border-color: #0c8f5d;
  color: #0c8f5d;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(12, 143, 93, 0.2);
}

/* 登录页脚 */
.login-footer {
  position: absolute;
  top: 70px;
  right: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* 注册链接 */
.register-link {
  font-size: 14px;
  color: #666;
}

/* 忘记密码链接 */
.forgot-password {
  font-size: 14px;
}

/* 忘记密码文本样式 */
.forgot-password-text {
  color: #0c8f5d;
  cursor: pointer;
  transition: color 0.3s ease;
}

.forgot-password-text:hover {
  color: #0a7a50;
  text-decoration: underline;
}

.register-text {
  color: #0c8f5d;
  cursor: pointer;
  margin-left: 4px;
  transition: color 0.3s ease;
}

.register-text:hover {
  color: #0a7a50;
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .login-left {
    padding: 30px;
  }

  .login-right {
    padding: 30px;
  }

  .login-logo {
    font-size: 30px;
  }

  .login-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .login-left {
    height: 40vh;
    padding: 20px;
    text-align: center;
  }

  .login-right {
    height: 60vh;
    padding: 20px;
  }

  .login-description {
    max-width: 100%;
  }

  .login-options {
    flex-direction: column;
  }

  .login-option {
    margin: 8px 0;
  }

  .register-link {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 30px;
    text-align: center;
  }
}

.register-type-item {
  height: 118px;
  box-shadow: 0px 2px 14px 1px rgba(0, 0, 0, 0.06);
  border-radius: 6px 6px 6px 6px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  margin-bottom: 44px;
  cursor: pointer;
  border: 1px solid transparent;
}
.register-type-item-icon{
  width: 64px;
  height: 64px;
  font-size: 26px;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 28px;
}
.register-type-item-right{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.register-type-item-right-title{
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}
.register-type-item-right-desc{
  font-size: 14px;
  color: #666;
  max-width: 318px;
}
.register-type-item-right-arrow{
  font-size: 16px;
  color: var(--primary-color);
  display: none;
}
.register-type-item:hover .register-type-item-right-arrow{
  display: block;
}
.register-type-item:hover {
  background-color: var(--primary-color-light);
  border-color: var(--primary-color);
}
.register-type-item:hover .register-type-item-icon{
  color: #fff;
  background-color: var(--primary-color);
}
.register-link-container{
  position: absolute;
  top: 70px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
  color: #B8B8B8;
}

/* 统一身份认证登录组件样式 */
.out-login {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px 0;
}

.out-login:hover {
  transform: translateX(5px);
}

.out-login-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #666;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.out-login-button:hover {
  color: var(--primary-color);
  background-color: rgba(43, 160, 127, 0.05);
}

.login-arrow {
  font-size: 14px;
  transition: all 0.3s ease;
}

.out-login-button:hover .login-arrow {
  transform: translateX(3px);
}
.login-betwen{
  position: relative;
}
.forgot-password{
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary-color);
  line-height: 32px;
  cursor: pointer;
}